package mlc;

import java.awt.Image;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

public class Resources {

	public static final String root = "mlc/resources/";
	
	public static final String drill = "drill.png";
	public static final String ore = "_ore.png";
	
	public static Image getImage(String name) throws IOException{
		File imageFile = new File(root+name);
		Image image = ImageIO.read(imageFile);
		return image;
	}
}
